<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <meta charset="UTF-8" name="viewport" content="initial-scale=1.0, user-scalable=no">
    <title>失物招领详情</title>
    <link rel="shortcut icon" href="static/image/logo01.ico"/>
    <link href="static/easyui/themes/default/easyui.css" rel="stylesheet" />
    <link href="static/easyui/themes/icon.css" rel="stylesheet" />
    <script type="text/javascript" src="static/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="static/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="static/easyui-lang-zh_CN.js"></script>
</head>
<body>
<%
    String id = new String(request.getParameter("id").getBytes("ISO-8859-1"),"utf-8");
%>
<input class="easyui-textbox" id="description" data-options="multiline:true,readonly:true" style="width:400px;height:200px"></input>
<script type="text/javascript">
  $(function() {
    $.ajax({
      url: 'notice/get',
      type: 'get',
      data: {
        id: '<%=id%>'
      },
      success: function(response) {
        $("#description").textbox('setValue', response.data.content);
      }

    })
  })
</script>
</body>
</html>